Apparatus for data recovery in a synchronous chip-to-chip system

ABSTRACT

An apparatus that reduces sampling errors for data communicated between devices uses phase information acquired from a timing reference signal such as a strobe signal to align a data-sampling signal for sampling a data signal that was sent along with the timing reference signal. The data-sampling signal may be provided by adjustably delaying a clock signal according to the phase information acquired from the strobe signal. The data-sampling signal may also have an improved waveform compared to the timing reference signal, including a fifty percent duty cycle and sharp transitions. The phase information acquired from the timing reference signal may also be used for other purposes, such as aligning received data with a local clock domain, or transmitting data so that it arrives at a remote device in synchronism with a reference clock signal at the remote device.

TECHNICAL FIELD

The present invention relates to the field of signal communications andmore particularly to high-speed transfer of information within andbetween integrated circuit devices using electrical signaling.

BACKGROUND

In modern electronic systems, data and control information aretransferred between various subsystems using extremely short-livedelectrical signals. For example, in high-speed memory systems, a datasignal from a memory controller to a memory device may be valid at theinput of the memory device for only a nanosecond or less; less time, insome cases, than the propagation time of the data signal on thesignaling path between the memory controller and the memory device. Inany such high-speed signaling system, the ability of the receivingdevice to sample the data signal at a precise instant within the validdata interval (the “data eye”) is often a critical factor in determininghow brief the data eye may be and, consequently, the overall datatransfer rate of the system. Accordingly, any technique for moreaccurately controlling the sampling instant within the data eyegenerally permits faster data transfer and therefore higher signalingbandwidth.

FIG. 1 illustrates a prior art high-speed signaling system in which astrobe signal is transmitted on strobe line DQS to control the samplingof data signals transmitted on data lines, DQ0-DQN. Because the strobesignal is edge-aligned with the data signals when transmitted (i.e., thestrobe signal transition coincides with the opening of the data eye) andthe DQS line introduces nominally the same propagation delay as theDQ0-DQn lines, the strobe signal and data signals arrive at thereceiving device at nearly the same time. A variable delay circuit 15then delays the strobe signal by half the nominal duration of the dataeye so that the delayed strobe signal transitions at the midpoint of thedata eye.

In order to prevent the delayed strobe signal from drifting away fromthe midpoint of the data eye (e.g., due to changes in voltage andtemperature), a delay-locked loop circuit (DLL) 12 is provided to adjustthe delay applied by the variable delay circuit over time. A variabledelay circuit 21 within the DLL is formed by coarse and fine delayelements that correspond to coarse and fine delay elements within thevariable delay circuit 15 in the strobe signal path. As the output ofthe variable delay circuit 21 within the DLL drifts out of phase with areference clock signal (e.g., due to changes in voltage andtemperature), the phase difference is detected by a phase detector 18which outputs a signal to a delay control circuit 20 to adjust the delaycontrol value applied to the variable delay circuit 21. The adjustmentto the delay control value results in adjustment in the number of coarseand/or fine delay elements in the signal path of the variable delaycircuit 21 so as to drive the output of the variable delay circuit 21back toward phase lock with the reference clock signal. As shown in FIG.1, the delay control value is also provided, after translation in aratio circuit 22 according to the ratio between the reference clockperiod and one half the data eye duration, to the variable delay circuit15 in the strobe signal path. By this arrangement, the delay applied tothe data strobe signal is automatically adjusted to compensate forvariations in voltage and temperature. Other relatively constant sourcesof error (e.g., process variations, mismatches in the DQS and DQ paths,etc.) may be compensated by the initial selection of coarse and finedelay elements within the variable delay circuit 21.

Unfortunately, because a delayed version of the data strobe signal isultimately used to control the sampling of the DQ lines (a techniquereferred to herein as direct strobing), any transient sources of timingerror in the data strobe signal such as intersymbol interference (ISI)and cross-talk, or data-dependent timing errors resulting frommismatched rising and falling edge rates are not significantlycompensated by the variable delay circuit 15 and instead appear astiming jitter at the sample control inputs of the data receiver. Thisphenomenon is illustrated in FIG. 2. As shown, a strobe signal 31 isdelayed by an amount of time, T_(EYE)/2, to produce a delayed strobesignal 33 that transitions at the midpoint of the data eye. Slightlyadvanced and delayed versions of the strobe signal 31 resulting fromtransient sources of timing error are illustrated by dashed lines 34 and35, respectively. Because the transient sources of timing error arepassed through to the output of the variable delay circuit 15 of FIG. 1,the delayed strobe signal 33 is likewise advanced or delayed, resultingin a sampling point that is offset from the ideal sampling point asshown. As discussed above, such inaccuracy in the sampling pointtranslates to lost timing margin and ultimately to reduced data transferrates.

SUMMARY

In accordance with an aspect of the present invention, an apparatus isdisclosed that can reduce sampling errors for data communicated betweendevices. The apparatus uses phase information acquired from a timingreference signal such as a strobe signal to align a data-sampling signalfor sampling a data signal that was sent along with the timing referencesignal. The data-sampling signal may be provided by adjustably delayinga clock signal according to the phase information acquired from thestrobe signal. The data-sampling signal may also have an improvedwaveform compared to the timing reference signal, including afifty-percent duty cycle and sharp transitions. The phase informationacquired from the timing reference signal may also be used for otherpurposes, such as aligning received data with a local clock domain, ortransmitting data so that it arrives at a remote device in synchronismwith a reference clock signal at the remote device.

BRIEF DESCRIPTION OF THE FIGURES

FIG. 1 is a diagram of a prior art signaling system that samples datasignals with a strobe signal that is phase-adjusted with a delay-lockedloop circuit.

FIG. 2 is a diagram of the phase-adjusted strobe signals of FIG. 1 usedto sample data during a valid data interval represented by a data eye.

FIG. 3 is a diagram of an apparatus that samples data signals with adata-sampling signal that is generated by adjustably delaying a clocksignal in accordance with phase information acquired from a strobesignal.

FIG. 4 is a diagram of an apparatus that samples data signals with aduty cycle corrected data-sampling signal that is generated byadjustably delaying a clock signal with a delay-locked loop that isphase-locked to a strobe signal.

FIG. 5 is a diagram of a portion of the apparatus of FIG. 4, includingelements of a phase control device and interpolator.

FIG. 6 is a diagram of a system for communicating data including acontroller and a plurality of memory devices.

FIG. 7 is a diagram of a system for transmitting data using a transmitstate derived from a received state of the apparatus of FIG. 4.

FIG. 8 is a phase diagram of the data-sampling signal relative to amaster clock domain.

FIG. 9 is a diagram of a mechanism that can be used for data sampled bythe data-sampling signal and read with the master clock signal.

FIG. 10 is a diagram of an implementation of the present invention in aninformation storage and transfer system having a multi-drop bus withplural devices coupled to the bus.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIG. 3 shows a diagram of a data-sampling apparatus 50 that creates adata-sampling signal on data-sampling line DSS for sampling data signalsreceived on data lines DQ1-DQN with receivers 60, 64 and 66. Thedata-sampling signal is output by a DLL 52 that adjusts the phase of aclock signal on clock line CLK in accordance with phase informationacquired from a strobe signal received on strobe line DQS. The phaseinformation is acquired by comparing, at a phase detector 55, the strobesignal received on strobe line DQS with the signal output by DLL 52 onphase-lock line 58. Thus, unlike the direct strobing of the prior art,in which the strobe signal is used for sampling data signals, inaccordance with the present invention the strobe signal is used toadjust the phase of a data-sampling signal, and the data-sampling signalis instead employed to sample data signals.

As discussed below, embodiments of the present invention may be usedwith timing reference signals other than strobe signals, includingwithout limitation, clock signals, and pseudo-random signals. Herein,the expression “strobe signal” refers to a signal that transitionsbetween valid logic levels (e.g., logic high and logic low) when a validsignal is present on a corresponding data, control or address line.Except for calibration transitions and other overhead signalingassociated with establishing or maintaining the timing accuracy of thestrobe signal, the strobe signal is generally idle (often in aprecharged state midway between valid logic levels) when no valid signalis present or is being output on the corresponding data, control oraddress line. By contrast, a clock signal transitions between logiclevels in a periodic fashion regardless of whether control, data oraddress signals are present on other lines. Note that, in the case of astrobe signal that is precharged to a state midway between valid logiclevels when idle, a transition from the pre-charged level to a validlogic level (sometimes called a preamble) typically precedes anytransition between valid logic levels.

The strobe signal has been sent along with the data signals by a devicethat is transmitting data, not shown in this figure, whereas the clocksignal is generally available to all devices in a data signaling systemduring system operation. In one embodiment, the strobe signal is inphase with the data signals when transmitted from the remote device. Inthis case, the DLL 52 is configured to output a data-sampling signal online DSS that is 90° out of phase with the strobe signal received online DQS, for sampling the received data signals with transitions of thedata-sampling signal at the midpoint of the data eyes. In anotherembodiment, the strobe signal is 90° out of phase with the data signalswhen transmitted from the remote device. In this case, the DLL 52 isconfigured to output a data-sampling signal on line DSS that is in phasewith the strobe signal received on line DQS, for sampling the receiveddata signals with transitions of the data-sampling signal at themidpoint of the data eyes.

For a memory system implementation in which data and accompanying strobesignals are transmitted between a memory controller and one or more DRAMdevices, a data-sampling apparatus such as apparatus 50 may be disposedonly on the memory controller to keep the DRAM cost effective. In thiscase, the strobe signal is phase aligned with data signals transmittedby the DRAM, so the data-sampling signal output by DLL 52 is 90° out ofphase with the data signals received on lines DQ1-DQN.

The strobe signal and data signals may be transmitted by similar outputdrivers, such as CMOS transistors, and over similar paths, such asconductive traces having substantially matched transmissioncharacteristics. For certain implementations, both the strobe signal andthe data signals may have different slopes for rising transitions versusfalling transitions, for example due to inherent differences betweenPMOS and NMOS output driver transistors that may be used to drive thestrobe signal and data signals high and low. This can cause thepercentage of time that the strobe signal is high versus low to varyfrom an ideal 50% duty cycle.

Since the data signals have differences in rising and fallingtransitions that match those of the strobe signal, one might expect thatimperfections in the strobe signal would cancel those in the datasignals. However, a rising strobe signal transition may correspond to arising or a falling data signal transition, and a falling strobe signaltransition may correspond to a rising or falling data signal transition.Thus, although strobe signal imperfections may be cancelled by certaindata signal imperfections, they may be magnified by other data signalimperfections. Other imperfections that can degrade the strobe signalinclude intersymbol interference, cross talk and signal dispersion.

In contrast, the data-sampling signal output on line DSS may be createdwith a desired waveform, for example having a fifty percent duty cycleand sharp transitions, compared to the strobe signal. The DLL 52 mayalso smooth jitter of the strobe signal so that in addition to providingan improved waveform, the data-sampling signal DSS has a more stablephase than the strobe signal DQS. Thus, instead of the direct strobingof the prior art, which is subject to imperfections of the strobe signalDQS, a high quality data-sampling signal DSS is used to sample data.

FIG. 4 shows another embodiment of a data-sampling apparatus 100 thatcreates a data-sampling signal for sampling data signals received onlines DQ1-DQN, with the phase of the data-sampling signal derived from astrobe signal or timing reference signal received on line DQS. Thesystem 100 uses a two-stage delay-lock loop (DLL) similar to thatdisclosed in U.S. Pat. No. 6,125,157, assigned to Rambus Inc. andincorporated by reference herein.

In a first stage, a DLL reference loop 102 uses a clock signal on lineCLK, which is duty cycle corrected by a first duty cycle correctioncircuit 105, to produce a set of signals 110 that are sequentiallydelayed replications of the corrected clock signal, termed phasevectors. In a second stage, an adjacent pair of phase vectors 110 areselected and weighted by an interpolator 112 to output a zero-degreesignal at an output labeled 0°. At an output labeled 90°, anotheradjacent pair of phase vectors 110 are selected and weighted byinterpolator 112 to output a ninety-degree signal that is phase-adjustedaccording to the zero-degree signal. DLL reference loop 102 andinterpolator 112 thus provide a variable delay circuit to the clocksignal.

The DLL reference loop 102 includes a series of delay elements arrangedin a chain, the chain receiving the clock signal and generating, fromthe delay elements, the phase vectors 110, each of the phase vectors 110shifted a unit delay from an adjacent phase vector. The DLL referenceloop 102 may adjust the unit delays in the delay chain using a delayadjustment signal so that the phase vectors span a predetermined phaselength of the clock signal. Although four phase vectors 110 are shown inFIG. 4, more or less phase vectors can be employed, such as two, three,six, eight or twelve. The phase difference between adjacent phasevectors 110 in the embodiment of apparatus 100 is 180°/N and so, for thefour signals shown, each phase vector 110 is spaced from the next by45°.

The interpolator 112 receives the phase vectors 110 from reference loop102 and outputs the zero-degree signal and the ninety-degree signal,based upon a phase-control signal from a phase-control circuit 122. Aselection circuit in phase-control circuit 122 or interpolator 112causes interpolator 112 to select two adjacent phase vectors 110 andcreate the zero-degree signal from a weighted combination of thosesignals 110. The zero-degree signal resulting from the mathematicalcombination of phase vectors 110 by interpolator 112 is designed to bein phase, after subsequent processing, with the strobe signal receivedon line DQS. An embodiment of selection circuitry in interpolator 112that may be employed in the present invention is disclosed in theabove-referenced U.S. Pat. No. 6,125,157.

The clock signal on line CLK is a master clock signal for an informationtransfer system that includes system 100 and can also be used, forexample, to synchronize transmission of the strobe signal and datasignals to a remote device, not shown in this figure. The strobe signalreceived on line DQS has substantially the same frequency in thisembodiment as the clock signal received on line CLK. The ninety-degreesignal results from a mathematical combination of reference signals 110by interpolator 112 that is designed in this embodiment to be out ofphase with the zero-degree signal by 90°.

The zero-degree signal is fed through a duty cycle correction circuit115, which is configured to output a phase-lock signal on line 128having a substantially 50% duty cycle regardless of imperfections in theduty cycle of the zero-degree signal. The ninety-degree signal is fedthrough a similar duty cycle correction circuit 118, which is configuredto output a data-sampling signal on line 129 having a substantially 50%duty cycle regardless of imperfections in the duty cycle of theninety-degree signal. An embodiment of a duty cycle correction circuitthat may be employed in the present invention is disclosed in theabove-referenced U.S. Pat. No. 6,125,157.

A zero phase detector 120 receives the strobe signal on line DQS and thephase-lock signal, and compares the two signals to generate an early orlate signal to the phase-control circuit 122. The phase-control circuit122 uses the early or late signal to cause interpolator 112 to move thezero-degree signal forward or backward in time until the phase-locksignal is in phase with DQS.

Phase-control circuit 122, which is shown in more detail in FIG. 5,includes a counter 150 that has a digital state determined by a historyof early or late signals received from zero phase detector 120, thedigital state stored in a first register 155 of a memory 152 andmaintained in the absence of the input strobe signal. Alternatively, thedigital state of the counter 150 may drive the interpolator 112directly, without storage of the state in a register.

The memory 152 has M registers, including second register 157 throughM^(TH) register 159, for storing M states of phase-control circuit 122.As discussed further below, second register 157 through M^(TH) register159, which may alternatively be disposed outside phase-control circuit122, store states that may be used to control the output of interpolator112 or other interpolators, not shown in this figure, to provideadditional data-sampling signals. The additional data-sampling signalsmay be used for transmitting strobe or timing reference signals to theremote device rather than receiving strobe or timing reference signalsfrom the remote device, for synchronization of the received data signalswith the local clock signal CLK, or for communication with differentremote devices, for example.

In order to avoid instability, phase-control circuit 122 may act as adigital filter by requiring two or more consecutive early or latesignals before changing the signal output to interpolator 112. Thephase-control circuit 122 can also be caused to hold the signal outputto interpolator 112 constant, ignoring the signal from the zero phasedetector 120. This can be used, for example, to lock the phase positionof the ninety-degree signal for sampling data even when strobe signalDQS is nonexistent or suspected to have errors.

Phase-control circuit 122 also communicates to a digital-to-analogconverter (DAC) 160 within interpolator 112, which converts a digitalstate such as a six-bit word stored in the first register 155 into apair of control signals 164 and 166 that is applied to control theweighting of the phase vectors 110 selected by the selection circuitry,interpolating between those phase vectors. This weighting of the phasevectors 110 can be achieved by controlling the current drawn by sourcesconnected to the selected phase vectors, and integrating that currentwith corresponding capacitors, as described in above-referenced U.S.Pat. No. 6,125,157. For the situation in which other digital states arestored in phase-control circuit 122, a state selection circuit 162 isprovided that selects whether the state stored in first register 155 orother registers 157-159 is provided to DAC 160. The state selectioncircuitry also selects the two adjacent phase vectors 110 that areinterpolated by signals 164 and 166 from DAC 160.

The 90° output signal, after passing through duty cycle correctioncircuit 118, provides a data-sampling signal having a predeterminedquadrature phase relationship to a data signal received on line DQ1 forsampling with a conventional receiver 130. Thus receiver 130 can samplethe data signal on line DQ1 with an accurately aligned quadrature signalon line DSS1 that has a substantially 50% duty cycle, instead of directstrobing the data signal on line DQ1 with the strobe signal, which mayhave jitter, imperfections in duty cycle, reduced edge slopes due todispersion during transmission, and transient errors such as intersymbolerrors and crosstalk errors. The data-sampling signal may also provide afree running clock signal, as opposed to a strobe signal that may onlyexist concomitant with receiving data.

Additional receivers, such as Nth receiver 133, can sample other datasignals on lines such as data line DQN, with the data-sampling signalproduced by apparatus 100. Thus apparatus 100 can be used for datasignals transmitted over a multi-bit wide bus. System 100 can employphase information of strobe signal DQS to synchronize a virtually ideal,free running quadrature clock signal having a 50% duty cycle and sharprising and falling edges for sampling received data signal DQ.

An offset control circuit 140 can be coupled to either the zero phasedetector 120 or the phase-control circuit 122 to adjust the phase of 0°output so that the zero clock signal is slightly out of phase withstrobe signal DQS. Alternatively, 90° output may be adjusted slightly byinterpolator 112 to not be exactly 90° out of phase with 0° output. Thismay be used, for example, to better align the signal output from dutycycle correction circuit 118 with the quadrature of data signals DQ andDQX. Thus, for a common situation in which a number of data bits, suchas a byte, are received in parallel by a number of receivers associatedwith a strobe signal, such as receiver 130 and receiver 133, offsetcontrol circuit 140 offers a per-byte adjustment of the phase of thedata-sampling signal. Similar per-byte calibration of the data-samplingsignals can be accomplished by multiplexer 170, which may also becontrolled by offset control, and which can select how many delayelements 144, such as inverters, are in the path of the phase-locksignal.

Further adjustment of the data-sampling signal can be achieved byproviding another series of delay elements 146, such as inverters, tothe data-sampling signal. Multiplexer 172 is provided for selecting thenumber of delay elements 146 that the data-sampling signal DSS1encounters compared to the number of delay elements 144 that phase-locksignal encounters. Multiplexer 175 is provided for selecting the numberof delay elements 146 that the data-sampling signal DSSN encounterscompared to the number of delay elements 144 that phase-lock signalencounters. This selection of delay elements 146 offers a per-bitcalibration of the data-sampling signals DSS1-DSSN. In this fashion,early, normal or late data-sampling clock signals can be selectivelyprovided to each of the various receivers sampling data signals from abyte-wide or multi-byte wide bus.

The zero phase detector 120 may be configured to compare the fallingedges of the DQS and the phase-lock signals, since such falling edgesare commonly produced by N-MOS drivers that drive faster transitionsthan P-MOS drivers that are commonly used to produce rising edges. Anoptional edge selector 125, which may be a part of zero phase detector120, includes circuitry such as a configurable register that can beprogrammed to cause zero phase detector 120 to look at rising edges ofthe DQS and the phase-lock signals, instead of or in addition tocomparing the falling edges of those signals.

Although a single interpolator 112 is shown in this figure, otherinterpolators may also receive the output signals 110 from referenceloop 102. Moreover, provided that the traces that carry output signals110 have matched lengths and impedances, interpolators such asinterpolator 112 may be located a relatively long distance fromreference loop 102. Thus many such interpolators may be located on thesame electronic circuit, each of which uses signals 110 from referenceloop 102 as phase vectors.

For example, as discussed further below, apparatus 100 may be part of amemory controller formed on an integrated circuit chip that communicateswith plural DRAM devices disposed on other integrated circuit chips. Inthis case, another interpolator may receive output signals 110 forcontrolling transmission of data and strobe or timing reference signalsto those DRAM devices. For the situation, also described in furtherdetail below, in which plural devices such as DRAMs share transmissionlines such as a memory bus, a separate interpolator may be provided onthe memory controller for communicating with each of the DRAM devices,with each interpolator controlled by a signal specific to thecorresponding DRAM device.

FIG. 6 shows the timing system 100 employed as part of a memorycontroller 200 that communicates with memory devices RAM 202 and RAM 212to read and write data for a memory system 220. Data signals DQ are senton a bus 204 having multiple parallel conductive traces between a firstgroup of input/output (I/O) units 205 and a second group of I/O units207. Each of the I/O units 205 and 207 have a conventional data transmitcircuit and a conventional data receive circuit corresponding to each ofthe traces. Strobe signals DQS can be communicated between system 100and an I/O unit 208 of RAM 202 over trace 206. That is, strobe signalsDQS are received by system 100 as discussed above, and can be sent by aconventional strobe transmit circuit or transmitter 209 that is coupledto system 100.

Memory controller 200 also contains another timing system 210 that issimilar to system 100. Timing system 210 receives strobe signals DQS2from I/O unit 218 via trace 216. A second strobe transmitter 219 iscoupled to timing system 210 for sending strobe signals DQS2 fromcontroller 200 to I/O unit 218. A group of I/O units 215 communicatedata signals DQ2 with I/O units 217 of RAM 212 over bus 214. Since theI/O units 207 of RAM 202 and I/O units 217 of RAM 212 are the only I/Ounits directly connected to respective I/O units 205 and 215 ofcontroller 200, strobe signals DQS and DQS2 are sent according topoint-to-point communication.

Clock, command and address signals are sent from controller 200 tomemory devices RAM 202 and RAM 212 along control line 230.Alternatively, clock signals may be generated by an external clock chip.Control line 230 is coupled to receivers 244 and 246 in a multi-dropconfiguration, although a point-to-point configuration is also possible.Associated data and strobe traces 204 and 206 are designed to be closelymatched with each other, and associated data and strobe traces 214 and216 are also designed to be closely matched with each other, however,control line 230 may have a substantially different path length anddelay than any of the traces.

Conventional clock transmitter 240 sends a clock signal CLK torespective clock receivers 244 and 246. The data signals DQ and DQ2 andstrobe signals DQS and DQS2 that are sent by memory devices RAM 202 and212 to memory controller 200 are transmitted according to the clocksignals CLK received by those memory devices. Similarly, the datasignals DQ and DQ2 and strobe signals DQS and DQS2 that are sent bymemory controller 200 to memory devices RAM 202 and 212 are, after beingreceived, written to memory addresses according to the clock signals CLKreceived by those memory devices.

Although FIG. 6 depicts timing systems 100 and 210 implemented in thecontext of a memory system 220, note that such timing systems can beemployed in a variety of other applications, including digital, analog,chip-to-chip, logic-to-logic, peripheral device communications, networkcommunications or any other system where signals are transmitted betweena transmitter and a receiver. Also note that timing systems such assystems 100 and 210 may be included in memory devices RAM 202 and RAM212, instead of or in addition to being included in controller 200, andmay be provided in one or more communicating devices of the applicationsand systems listed above.

Controller 200 and memory devices RAM 202 and RAM 212 may be formedwithin the same integrated circuit, in a system-on-chip embodiment.Alternatively, controller 200 and memory devices RAM 202 and RAM 212 mayeach be formed as a separate integrated circuit, which may be connectedby printed circuit board (PCB) traces on a single PCB as a multi-chippackage or separate PCBs coupled to a motherboard. In anotherembodiment, controller 200 and memory devices RAM 202 and RAM 212, orother communication devices, may be interconnected by transmission linessuch as network channels.

For the situation in which a phase providing signal such as strobesignal DQS is intermittent, additional mechanisms can be employed toimprove the data-sampling signal. As mentioned above, phase-controlcircuit 122 can be set to hold its state during time periods in whichthe strobe signal is not received. In addition, phase state maintenanceoperations can be conducted which convey process, voltage or temperatureinduced phase differences to the phase-control circuit 122 in theabsence of data requests. Such maintenance operations may involve atleast a minimal number of strobe signal reads from a device such asmemory device RAM 202, in which a strobe signal is sent to system 100 toacquire phase information.

Various types of maintenance operations can be used to acquire phaseinformation, including the following examples. A power-up type ofmaintenance operation may occur shortly after power is initiallyprovided to devices such as controller 200 and/or memory devices RAM 202and RAM 212. A power state change type of maintenance operation mayoccur during run-time power state transitions of the devices. Forinstance, such a power state change maintenance operation can occurduring transitions into and out of low power sleep, nap, standby orother power saving modes. A periodic type of maintenance operation maybe triggered by a clock, counter or interrupt mechanism whereby either afixed or programmable minimum time duration is specified that causes themaintenance operation to be run. For the implementation of timing system100 in a memory system, a hidden-refresh type of maintenance operationmay be performed in parallel with a DRAM refresh operation.

Maintenance operations may not be needed for systems communicatingintermittent strobe signals that have a minimal number of pre-amble orpost-amble strobe cycles for acquiring phase information byphase-control circuit 122. Also, depending upon the number of strobecycles accompanying a data signal read, an intermittent strobe signalmay provide sufficient phase information for timing system 100,especially if the data signal is read after a delay.

The phase information gleaned from a strobe signal DQS received bymemory controller 200 from RAM 202 can also be used to synchronizetransmission of data signals DQ from memory controller 200 to RAM 202,so that the data signal DQ received by RAM 202 is aligned with the clocksignal CLK at that RAM 202. That is, the digital state of thephase-control circuit 122 controls phase-adjustment of the referenceclock signal CLK relative to received strobe signal DQS, and thusprovides an indication of transmission differences between bus 204 andcontrol line 230. The digital state for received signals can be used tocreate a digital state for transmit signals that compensates for thosetransmission differences in writing data.

The transmit state of the phase-control circuit 122 may be thecomplement of the received state of that circuit, causing theinterpolator to output a transmit strobe signal that is phase-shiftedfrom CLK an opposite amount as the phase difference between the receivedstrobe signal DQS and reference clock CLK. Since the state ofphase-control circuit 122 is a digital number, reversing thephase-adjustment to transmit DQS instead of receive DQS may simplyinvolve subtracting the received state from unity to obtain the transmitstate, which is output to the interpolator. The interpolator may alsooutput a transmit data signal DQ that is 90° out of phase with thetransmit strobe signal DQS, which can be accomplished via another simpletransformation of the transmit state settings, to provide data andstrobe signals having a quadrature relationship to memory device RAM202. Also note that because the transmit data signal DQ can, by thismechanism, be aligned with the clock signal CLK at a remote device suchas RAM 202, transmission of a strobe signal for sampling that datasignal DQ at the remote device may not be necessary.

For example, if the phase-control circuit 122 has a state acquired fromDQS signals received from I/O unit 208 that causes interpolator 112 tooutput a 0° signal that is advanced by ten degrees relative to clocksignal CLK, then a DQS signal transmitted from transmitter 209 to I/Ounit 208 can be delayed by ten degrees relative to clock signal CLK, inaddition to an optional quadrature offset. Various states ofphase-control circuit 122 may be stored by controller 200 and applied asdesired to control interpolator to output data-sampling signals asneeded.

Note that while the phase of a transmitted data or strobe signal can bederived from the phase of a received data or strobe signal, as describedabove, it is also possible to have the transmit phase determinedirrespective of the received phase, for example by programming aregister with a phase control state. In this case, separate transmitphase vectors can be used to generate the transmitted data or strobesignal or the same phase vectors used for generating receiveddata-sampling signals can be used to generate transmitted data or strobesignals.

FIG. 7 illustrates a system 300 for transmitting data using a transmitstate 303 derived from a received state of the phase-control circuit122. Although the DLL interpolator 112 described above in the context ofreceiving data may also be employed for transmitting data, theembodiment illustrated in FIG. 7 includes an additional andsubstantially similar DLL interpolator 312 to that described above.Interpolator 312 outputs a transmit data signal T° and a transmit strobesignal (T+90)° that is offset from the transmit data signal T° byapproximately ninety degrees, in accordance with the transmit state 303.

The data to be transmitted is provided to a conventional datatransmitter 305 along with the transmit data signal T° that has beenduty cycle corrected by duty cycle correction circuit 308. Datatransmitter 305 transmits data signal DQ along bus 204, the data signalDQ having a predetermined phase relationship with the clock signal CLKso that the data arrives at RAM 202 at a desired phase relationship tothe clock signal CLK at RAM 202. Other transmitters, not shown, may alsotransmit other data signals on bus 204 using transmit data signal T°. Atthe same time, after passing through duty cycle correction circuit 318,a quadrature transmit clock signal may be provided to conventional datastrobe transmitter 310, which transmits strobe signal DQS on bus 206 sothat strobe signal DQS has a predetermined phase relationship with theclock signal CLK upon arrival at RAM 202.

Another use of the phase information acquired by system 100 andquantified as a received state of phase-control circuit 122 is shown inFIG. 8 and FIG. 9. As described above, for example with reference toFIG. 4, data signals DQ received by system 100 and receiver 130 aresampled by a quadrature signal that is phase spaced relative to thereceived strobe signal DQS, and so received data may be said to be in adata-sampling clock domain DCLK. Controller 200, however, manipulatesdata, control signals and logic according to master clock signals CLK,and may be said to be in a master clock domain. Controller 200 may be anapplication specific integrated circuit (ASIC), so logic and datamanipulation by the controller may be said to be in the ASIC domain.Because the received state of phase-control circuit 122 includesinformation relating DQS and CLK signals, the received state can be usedto transfer received data from the DQS domain to the master clock orASIC domain with minimal latency and adequate setup and hold time, thusavoiding any meta-stability risks.

FIG. 8 is a phase diagram 400 of the phase of the data-sampling clockDCLK in the master clock domain, i.e., with master clock CLK phasedefined as 0°. The phase diagram is divided into eight octants, labeledOCT 1 through OCT 8, which can be used to illustrate a general phaserelationship of data-sampling clock DCLK relative to the master clockCLK signal. Note that the receive state of phase-control circuit 122controls an interpolation between reference vectors of reference loop102 that defines in which octant the phase of DCLK signal is foundrelative to CLK.

FIG. 9 shows a mechanism 500 that can be used for data that may besampled by data-sampling signal DCLK as described above, in order toread that data by CLK. Interpolator 112 in this embodiment includes anauxiliary output signal labeled X°, which outputs to a duty cyclecorrection circuit 502 that in turn outputs an auxiliary clock signalXCLK to an auxiliary receiver 505. Receiver 505 also receives datasignal DQ′ that is output by receiver 130 to multiplexer 510, andreceiver 505 outputs data signal DQ″ to multiplexer 510. Multiplexer 510outputs either DQ′ or DQ′ to receiver 515, which uses clock signal CLKto read the data in the master clock domain.

In order to read the data with CLK, DCLK should be in the left-hand sideof phase diagram 400 to avoid potential setup and hold time conflictsbetween CLK and DCLK. If the state of phase-control circuit 122indicates that DCLK is in OCT 4 or OCT 5 for example, as shown by arrow404, the multiplexer 510 may be set to select DQ′, which is then clockedwith CLK by receiver 515. If, however, the state of phase-controlcircuit 122 indicates that DCLK is in the right hand side of phasediagram 400, as shown by arrow 408, phase-control circuit 122 can causeauxiliary output X° to output the inverse of DCLK, shown by arrow 410.Receiver 505 then reads data DQ′ with XCLK and outputs DQ″ in phase withXCLK. Phase-control circuit 122 also in this case signals to multiplexer510 to select DQ″, which is then clocked with CLK by receiver 515. Sincethe phase of DQS relative to CLK is represented as a digital state ofphase-control circuit 122, inverting the phase output by interpolator112 involves a simple manipulation of that state.

If the state of phase-control circuit 122 instead indicates that DCLK isin OCT 6, as shown by arrow 414, phase-control circuit 122 can causeauxiliary output X° to output XCLK having one-half the phase shift fromCLK as that of DCLK, as shown by arrow 418. Changing the phase state tooutput a signal having one-half the phase shift from CLK is also an easyoperation. In this case also phase-control circuit 122 signals tomultiplexer 510 to select DQ″, which is then clocked with CLK byreceiver 515. Thus, working with the phase octant of the data-samplingclock DCLK relative to the master clock CLK, system 500 can transferdata between the data strobe domain DQS and the master clock CLK domainwith minimal latency. Although described in terms of phase octants,other divisions of phase diagram 400 may be employed, as well as more orless frequency reference vectors.

The data-timing systems described above can also be used to receive andtransmit data for the situation in which a strobe signal DQS has adifferent frequency than a master clock signal CLK. For example, theclock frequency CLK may be an integer multiple of the data strobe DQSfrequency, for receiving or transmitting the data with one rather thanboth clock CLK edges. In this case, duty cycle correction of the CLKsignals may not be needed, but phase information of the received datastrobe DQS is used to generate a data-sampling clock DCLK. Thedouble-frequency DCLK signal may be 180° out of phase with a 0° outputthat is in phase with DQS, to read the received data signal DQ with oneedge of DCLK that is approximately 90° out of phase with DQ.

While the above-described mechanisms and methods are useful forpoint-to-point data transfer between two devices of a system thattransfers information, in systems such as a memory system the number ofpins available at the controller limit additional DRAM connections tocontroller 200. FIG. 10 illustrates an implementation of the presentinvention in an information storage and transfer system 600 having amulti-drop bus that allows more than one memory device to be coupled tothe bus. A controller 602 includes a conventional master clock generator604 and a plurality of data-timing systems 606 and 608. An I/O unit orgroup of I/O units 610 are coupled to data-timing system 606 and anotherI/O unit or group of I/O units 612 are coupled to data-timing system608. A first bus 614 couples memory devices 616, 618 and 620 tocontroller 602 via I/O group 610. A second bus 624 couples memorydevices 626, 628 and 630 to controller 602 via I/O group 612. Buses 614and 624 may each include data, strobe, clock and control channels. Data,strobe and control signals may be routed to controller 602 and thememory devices based upon their addresses within system 600.

Data-timing system 606 and 608 may be similar to timing systems 100 and500 described above. In this multi-drop system 600, however, data-timingsystems 606 and 608 each store different phase-control states specificto each of the coupled memory devices. That is, data-timing system 606acquires phase information from a strobe signal sent by memory device616, the phase information quantified as a digital state of aphase-control circuit of system 606 and used to create a data-samplingsignal for clocking data received from that memory device 616.Similarly, data-timing system 606 separately acquires phase informationfrom a strobe signal sent by memory device 618, and also separatelyacquires phase information from a strobe signal sent by memory device620, the phase information stored as digital states of a phase-controlcircuit of system 606. Controller 602 not only stores the pluralreceived phase-control states of data-timing system 606 but also storesplural received phase-control states of data-timing system 608.

In addition, controller 602 may store various other phase-control statesof data-timing systems 606 and 608, such as individual transmit timingstates for transmitting data to each of the memory devices, andindividual auxiliary states for transferring received data into theclock domain of master clock generator 604. Each of these states mayinclude information regarding per-byte offsets as well as per-bitoffsets, as described above with reference to FIG. 4. Thus controller602 may select for a particular communication (e.g., data read or datawrite) with a particular device (e.g., RAM 616, RAM 618 or RAM 620), adigital state corresponding to the device and to the communication, theselected state being employed to provide phase adjustment on a per-bitas well as per-byte basis, the phase adjustment used for samplingreceived data, transmitting data in a phase for sampling, or aligningdata with a selected clock domain.

Although described above as a master-slave system, multi-drop system 600can be implemented as a system having plural controllers, each of whichhas a data-timing system similar to that described above. Moreover, thestrobe signals need not be sent by the same device that transmits datasignals. For example, another clock may be provided on an opposite endof bus 614 that transmits clock-to-master signals that are used bymemory devices 616, 618 and 620 in transmitting data to controller 602,with those clock-to-master signals processed by data-timing system 606to receive the data. In this case, a duty cycle corrected master clockcan be phase-adjusted by the received clock-to-master signals to createa data-sampling signal for receiving the data and shifting the receiveddata to the master clock domain.

Although we have focused on teaching the preferred embodiments ofimproved data-timing systems, other embodiments and modifications ofthis invention will be apparent to persons of ordinary skill in the artin view of these teachings. Therefore, this invention is limited only bythe following claims, which include all such embodiments, modificationsand equivalents when viewed in conjunction with the above specificationand accompanying drawings.

What is claimed is:
 1. An apparatus comprising: a variable delay circuitto generate a data-sampling signal that is delayed relative to areference clock signal according to a delay control signal; a controlcircuit coupled to receive the data-sampling signal from the variabledelay circuit and to receive a timing reference signal from a datatransmitting device, the control circuit including circuitry todetermine a phase difference between the data-sampling signal and thetiming reference signal and to generate the delay control signalaccording to the phase difference; and a receive circuit coupled toreceive the data-sampling signal from the variable delay circuit and toreceive a data signal from the data transmitting device, the receivecircuit including circuitry to sample the data signal in response to atransition of the data-sampling signal.
 2. The apparatus of claim 1,wherein the phase difference between the data-sampling signal and thetiming reference signal is approximately ninety degrees.
 3. Theapparatus of claim 1, wherein the receive circuit is adapted to samplethe data signal in response to rising and falling transitions of thedata-sampling signal.
 4. The apparatus of claim 1, wherein the timingreference signal has a plurality of rising transitions and a pluralityof falling transitions, and the control circuit is adapted to determinethe phase difference based upon only one of the plurality of risingtransitions and the plurality of falling transitions.
 5. The apparatusof claim 1, wherein the receive circuit is adapted to sample the datasignal in response to a rising and a falling transition of thedata-sampling signal, the timing reference signal has a plurality ofrising transitions and a plurality of falling transitions, and thecontrol circuit is adapted to determine the phase difference based upononly one of the plurality of rising transitions and the plurality offalling transitions.
 6. The apparatus of claim 1, wherein the timingreference signal is transmitted synchronously with data signal.
 7. Theapparatus of claim 1, wherein the variable delay circuit includes aplurality of delays through which the reference clock signal passes,with a number of the delays selected by the control signal to generatethe data-sampling signal.
 8. The apparatus of claim 1, furthercomprising a mechanism configured to read, with the reference clocksignal, the data signal sampled by the receive circuit.
 9. The apparatusof claim 1, further comprising a transmit state derived from the controlsignal and controlling an interpolator to output a transmit timingsignal that is input to a data transmit circuit that is adapted to senddata according to transitions of the transmit timing signal.
 10. Theapparatus of claim 1, further comprising a duty cycle correction circuitoperably coupled to the variable delay circuit and adapted to modify anoutput of the variable delay circuit to generate the data-samplingsignal.
 11. The apparatus of claim 1, further comprising first andsecond receive circuits adapted to sample respective first and seconddata signals in response to the transition of the data-sampling signal.12. The apparatus of claim 11, further comprising a plurality of delayelements connectable between the variable delay circuit and theplurality of receive circuits, such that the data-sampling signal passesthrough a different number of the delay elements in traveling to thefirst receive circuit than the data-sampling signal passes through intraveling to the second receive circuit.
 13. An apparatus comprising: avariable delay circuit adapted to generate a data-sampling signal thatis delayed relative to a reference clock signal according to a controlsignal; a control circuit operably coupled to the variable delay circuitand adapted to determine a phase difference between the data-samplingsignal and a strobe signal and to generate the control signal accordingto the phase difference; and a receive circuit operably coupled to thevariable delay circuit and adapted to sample a data signal in responseto a transition of the data-sampling signal.
 14. The apparatus of claim13, wherein the phase difference between the data-sampling signal andthe strobe signal is approximately ninety degrees.
 15. The apparatus ofclaim 13, wherein the receive circuit is adapted to sample the datasignal in response to rising and falling transitions of thedata-sampling signal.
 16. The apparatus of claim 13, wherein the strobesignal has a plurality of rising transitions and a plurality of fallingtransitions, and the control circuit is adapted to determine the phasedifference based upon only one of the plurality of rising transitionsand the plurality of falling transitions.
 17. The apparatus of claim 13,wherein the receive circuit is adapted to sample the data signal inresponse to a rising and a falling transition of the data-samplingsignal, the strobe signal has a plurality of rising transitions and aplurality of falling transitions, and the control circuit is adapted todetermine the phase difference based upon only one of the plurality ofrising transitions and the plurality of falling transitions.
 18. Theapparatus of claim 17, wherein the strobe signal is transmittedsynchronously with data signal.
 19. The apparatus of claim 13, whereinthe variable delay circuit includes a plurality of delays through whichthe reference clock signal passes, with a number of the delays selectedby the control signal to generate the data-sampling signal.
 20. Theapparatus of claim 13, further comprising a mechanism configured toread, with the reference clock signal, the data signal sampled by thereceive circuit.
 21. The apparatus of claim 13, further comprising atransmit state derived from the control signal and controlling aninterpolator to output a transmit timing signal that is input to a datatransmit circuit that is adapted to send data according to transitionsof the transmit timing signal.
 22. The apparatus of claim 13, furthercomprising a duty cycle correction circuit operably coupled to thevariable delay circuit and adapted to modify an output of the variabledelay circuit to generate the data-sampling signal.
 23. The apparatus ofclaim 13, further comprising first and second receive circuits adaptedto sample respective first and second data signals in response to thetransition of the data-sampling signal.
 24. The apparatus of claim 23,further comprising a plurality of delay elements connectable between thevariable delay circuit and the plurality of receive circuits, such thatthe data-sampling signal passes through a different number of the delayelements in traveling to the first receive circuit than thedata-sampling signal passes through in traveling to the second receivecircuit.
 25. The apparatus of claim 13, further comprising a pluralityof delay elements connectable to the variable delay circuit such thatthe phase difference between the data-sampling signal and a strobesignal is adjustable.
 26. A system for transferring information, thesystem comprising: a first device including a data transmitter adaptedto generate a data signal and a timing reference transmitter adapted togenerate a timing reference signal; and a second device coupled to thefirst device and including a delay-locked loop adapted to delay a clocksignal and thereby create a data-sampling signal having a predeterminedphase relationship with the timing reference signal, and a receivecircuit adapted to sample the data signal with the data-sampling signal,wherein the delay-locked loop includes first and second outputs, thefirst output providing a phase-lock signal that is approximately inphase with the timing reference signal, and the second output providingthe data-sampling signal that is approximately ninety degrees out ofphase with the timing reference signal.
 27. A system for transferringinformation, the system comprising: a first device including a datatransmitter adapted to generate a data signal and a strobe transmitteradapted to generate a strobe signal; and a second device coupled to thefirst device and including a delay-locked loop adapted to delay a clocksignal and thereby create a data-sampling signal having a predeterminedphase relationship with the strobe signal, and a receive circuit adaptedto sample the data signal with the data-sampling signal, wherein thedelay-locked loop includes first and second outputs, the first outputproviding a phase-lock signal that is configured to be approximately inphase with the strobe signal, and the second output providing thedata-sampling signal that is configured to be approximately ninetydegrees out of phase with the strobe signal.